home *** CD-ROM | disk | FTP | other *** search
/ Delphi 2.0 - Programmer's Utilities Power Pack / Delphi 2.0 Programmer's Utilities Power Pack.iso / m_to_r / qrep096 / mdrep.dfm / mdrep.txt < prev   
Encoding:
Text File  |  1996-09-15  |  11.6 KB  |  540 lines

  1. object MDForm: TMDForm
  2.   Left = 109
  3.   Top = 229
  4.   Width = 793
  5.   Height = 362
  6.   HorzScrollBar.Range = 1200
  7.   VertScrollBar.Range = 2000
  8.   AutoScroll = False
  9.   Caption = 'Master Detail demo Report'
  10.   Font.Color = clBlack
  11.   Font.Height = -13
  12.   Font.Name = 'Arial'
  13.   Font.Style = []
  14.   PixelsPerInch = 96
  15.   ShowHint = True
  16.   TextHeight = 16
  17.   object Title: TQRBand
  18.     Left = 0
  19.     Top = 0
  20.     Width = 1200
  21.     Height = 53
  22.     Align = alTop
  23.     BandType = rbTitle
  24.     Color = clWhite
  25.     Font.Color = clNavy
  26.     Font.Height = -13
  27.     Font.Name = 'Arial'
  28.     Font.Style = []
  29.     ForceNewPage = False
  30.     Frame.Width = 0
  31.     Ruler = qrrInchesHV
  32.     object QRLabel15: TQRLabel
  33.       Left = 84
  34.       Top = 4
  35.       width = 193
  36.       height = 36
  37.       Caption = 'QuickReport'
  38.       AlignToBand = False
  39.       Font.Color = 8404992
  40.       Font.Height = -32
  41.       Font.Name = 'Arial'
  42.       Font.Style = [fsBold, fsItalic]
  43.     end
  44.     object Image1: TImage
  45.       Left = 8
  46.       Top = 4
  47.       Width = 69
  48.       Height = 33
  49.       Picture.Data = {<image000.bmp>}
  50.       Stretch = True
  51.     end
  52.     object QRLabel1: TQRLabel
  53.       Left = 288
  54.       Top = 20
  55.       width = 61
  56.       height = 16
  57.       Caption = 'for Delphi'
  58.       AlignToBand = False
  59.       Font.Color = 8404992
  60.       Font.Height = -13
  61.       Font.Name = 'Arial'
  62.       Font.Style = [fsBold, fsItalic]
  63.     end
  64.     object QRLabel16: TQRLabel
  65.       Left = 540
  66.       Top = 20
  67.       width = 200
  68.       height = 16
  69.       Caption = 'Copyright (c) 1995 Allan Lochert'
  70.       AlignToBand = False
  71.       Font.Color = clBlack
  72.       Font.Height = -13
  73.       Font.Name = 'Arial'
  74.       Font.Style = [fsBold, fsItalic]
  75.     end
  76.   end
  77.   object CustomerHeading: TQRBand
  78.     Left = 0
  79.     Top = 53
  80.     Width = 1200
  81.     Height = 52
  82.     Align = alTop
  83.     BandType = rbDetail
  84.     Color = 8404992
  85.     ForceNewPage = False
  86.     Frame.Width = 0
  87.     Ruler = qrrNone
  88.     object QRDBText1: TQRDBText
  89.       Left = 8
  90.       Top = 12
  91.       width = 197
  92.       height = 17
  93.       AutoSize = False
  94.       DataSource = CustomerDS
  95.       DataField = 'Company'
  96.       Font.Color = clWhite
  97.       Font.Height = -16
  98.       Font.Name = 'Arial'
  99.       Font.Style = [fsBold, fsItalic]
  100.     end
  101.     object QRLabel3: TQRLabel
  102.       Left = 8
  103.       Top = 0
  104.       width = 46
  105.       height = 14
  106.       Caption = 'Customer'
  107.       AlignToBand = False
  108.       Font.Color = clWhite
  109.       Font.Height = -11
  110.       Font.Name = 'Arial'
  111.       Font.Style = []
  112.     end
  113.     object QRLabel4: TQRLabel
  114.       Left = 240
  115.       Top = 0
  116.       width = 30
  117.       height = 14
  118.       Alignment = taRightJustify
  119.       Caption = 'Phone'
  120.       AlignToBand = False
  121.       Font.Color = clWhite
  122.       Font.Height = -11
  123.       Font.Name = 'Arial'
  124.       Font.Style = []
  125.     end
  126.     object QRDBText3: TQRDBText
  127.       Left = 240
  128.       Top = 12
  129.       width = 109
  130.       height = 17
  131.       AutoSize = False
  132.       DataSource = CustomerDS
  133.       DataField = 'Phone'
  134.       Font.Color = clWhite
  135.       Font.Height = -16
  136.       Font.Name = 'Arial'
  137.       Font.Style = [fsBold, fsItalic]
  138.     end
  139.     object QRDBText4: TQRDBText
  140.       Left = 64
  141.       Top = 0
  142.       width = 25
  143.       height = 13
  144.       Alignment = taRightJustify
  145.       AutoSize = False
  146.       DataSource = CustomerDS
  147.       DataField = 'CustNo'
  148.       Font.Color = clWhite
  149.       Font.Height = -11
  150.       Font.Name = 'Arial'
  151.       Font.Style = []
  152.     end
  153.     object QRLabel5: TQRLabel
  154.       Left = 356
  155.       Top = 0
  156.       width = 18
  157.       height = 14
  158.       Caption = 'Fax'
  159.       AlignToBand = False
  160.       Font.Color = clWhite
  161.       Font.Height = -11
  162.       Font.Name = 'Arial'
  163.       Font.Style = []
  164.     end
  165.     object QRDBText5: TQRDBText
  166.       Left = 356
  167.       Top = 12
  168.       width = 105
  169.       height = 17
  170.       AutoSize = False
  171.       DataSource = CustomerDS
  172.       DataField = 'Fax'
  173.       Font.Color = clWhite
  174.       Font.Height = -16
  175.       Font.Name = 'Arial'
  176.       Font.Style = [fsBold, fsItalic]
  177.     end
  178.     object QRLabel13: TQRLabel
  179.       Left = 392
  180.       Top = 36
  181.       width = 31
  182.       height = 14
  183.       AutoSize = False
  184.       Caption = 'Total'
  185.       AlignToBand = False
  186.       Font.Color = clWhite
  187.       Font.Height = -11
  188.       Font.Name = 'Arial'
  189.       Font.Style = []
  190.     end
  191.     object QRLabel12: TQRLabel
  192.       Left = 248
  193.       Top = 36
  194.       width = 18
  195.       height = 14
  196.       Caption = 'Tax'
  197.       AlignToBand = False
  198.       Font.Color = clWhite
  199.       Font.Height = -11
  200.       Font.Name = 'Arial'
  201.       Font.Style = []
  202.     end
  203.     object QRLabel11: TQRLabel
  204.       Left = 192
  205.       Top = 36
  206.       width = 24
  207.       height = 14
  208.       Caption = 'Price'
  209.       AlignToBand = False
  210.       Font.Color = clWhite
  211.       Font.Height = -11
  212.       Font.Name = 'Arial'
  213.       Font.Style = []
  214.     end
  215.     object QRLabel10: TQRLabel
  216.       Left = 72
  217.       Top = 36
  218.       width = 22
  219.       height = 14
  220.       Caption = 'Date'
  221.       AlignToBand = False
  222.       Font.Color = clWhite
  223.       Font.Height = -11
  224.       Font.Name = 'Arial'
  225.       Font.Style = []
  226.     end
  227.     object QRLabel9: TQRLabel
  228.       Left = 8
  229.       Top = 36
  230.       width = 41
  231.       height = 14
  232.       Caption = 'OrderNo'
  233.       AlignToBand = False
  234.       Font.Color = clWhite
  235.       Font.Height = -11
  236.       Font.Name = 'Arial'
  237.       Font.Style = []
  238.     end
  239.     object QRLabel14: TQRLabel
  240.       Left = 296
  241.       Top = 36
  242.       width = 33
  243.       height = 14
  244.       Caption = 'Freight'
  245.       AlignToBand = False
  246.       Font.Color = clWhite
  247.       Font.Height = -11
  248.       Font.Name = 'Arial'
  249.       Font.Style = []
  250.     end
  251.   end
  252.   object CustomerFooter: TQRBand
  253.     Left = 0
  254.     Top = 125
  255.     Width = 1200
  256.     Height = 31
  257.     Align = alTop
  258.     BandType = rbGroupFooter
  259.     Color = clWhite
  260.     ForceNewPage = False
  261.     Frame.Width = 0
  262.     Ruler = qrrNone
  263.     object QRDBCalc1: TQRDBCalc
  264.       Left = 344
  265.       Top = 4
  266.       width = 81
  267.       height = 17
  268.       Alignment = taRightJustify
  269.       AutoSize = False
  270.       DataSource = OrderDS
  271.       DataField = 'AmountPaid'
  272.       Operation = qrcSUM
  273.       PrintMask = '#,##0.00'
  274.     end
  275.     object QRLabel7: TQRLabel
  276.       Left = 176
  277.       Top = 4
  278.       width = 154
  279.       height = 16
  280.       Caption = 'Total sales this customer: '
  281.       AlignToBand = False
  282.     end
  283.   end
  284.   object PageFooter: TQRBand
  285.     Left = 0
  286.     Top = 156
  287.     Width = 1200
  288.     Height = 19
  289.     Align = alTop
  290.     BandType = rbPageFooter
  291.     Color = clWhite
  292.     ForceNewPage = False
  293.     Frame.Width = 0
  294.     Ruler = qrrNone
  295.     object QRLabel8: TQRLabel
  296.       Left = 4
  297.       Top = 4
  298.       width = 212
  299.       height = 14
  300.       Caption = 'QuickReport is copyright 1995 Allan Lochert'
  301.       AlignToBand = False
  302.       Font.Color = clBlack
  303.       Font.Height = -11
  304.       Font.Name = 'Arial'
  305.       Font.Style = []
  306.     end
  307.     object QRSysData1: TQRSysData
  308.       Left = 664
  309.       Top = 0
  310.       width = 79
  311.       height = 16
  312.       Alignment = taRightJustify
  313.       AlignToBand = True
  314.       AutoSize = False
  315.       Data = qrsPageNumber
  316.       Text = 'Page '
  317.     end
  318.   end
  319.   object Summary: TQRBand
  320.     Left = 0
  321.     Top = 175
  322.     Width = 1200
  323.     Height = 41
  324.     Hint = 'QuickReport'
  325.     Align = alTop
  326.     BandType = rbSummary
  327.     Color = clWhite
  328.     ForceNewPage = False
  329.     Frame.Width = 0
  330.     Ruler = qrrNone
  331.     object QRSysData2: TQRSysData
  332.       Left = 504
  333.       Top = 12
  334.       width = 197
  335.       height = 16
  336.       AlignToBand = False
  337.       AutoSize = False
  338.       Data = qrsDetailCount
  339.       Font.Color = clBlack
  340.       Font.Height = -13
  341.       Font.Name = 'Arial'
  342.       Font.Style = [fsBold]
  343.       Text = 'Total number of orders : '
  344.     end
  345.     object QRDBCalc2: TQRDBCalc
  346.       Left = 320
  347.       Top = 12
  348.       width = 105
  349.       height = 17
  350.       Alignment = taRightJustify
  351.       AutoSize = False
  352.       DataSource = OrderDS
  353.       DataField = 'AmountPaid'
  354.       Font.Color = clBlack
  355.       Font.Height = -13
  356.       Font.Name = 'Arial'
  357.       Font.Style = [fsBold]
  358.       Operation = qrcSUM
  359.       PrintMask = ',0.00'
  360.     end
  361.     object QRLabel6: TQRLabel
  362.       Left = 108
  363.       Top = 12
  364.       width = 164
  365.       height = 16
  366.       Caption = 'Total sales all customers :'
  367.       AlignToBand = False
  368.       Font.Color = clBlack
  369.       Font.Height = -13
  370.       Font.Name = 'Arial'
  371.       Font.Style = [fsBold]
  372.     end
  373.   end
  374.   object Detail: TQRBand
  375.     Left = 0
  376.     Top = 105
  377.     Width = 1200
  378.     Height = 20
  379.     Align = alTop
  380.     BandType = rbDetailGroup
  381.     Color = clWhite
  382.     ForceNewPage = False
  383.     Frame.Width = 0
  384.     Ruler = qrrNone
  385.     object QRDBText11: TQRDBText
  386.       Left = 352
  387.       Top = 0
  388.       width = 73
  389.       height = 17
  390.       Alignment = taRightJustify
  391.       AutoSize = False
  392.       DataSource = OrderDS
  393.       DataField = 'AmountPaid'
  394.     end
  395.     object QRDBText2: TQRDBText
  396.       Left = 4
  397.       Top = 0
  398.       width = 45
  399.       height = 17
  400.       Alignment = taRightJustify
  401.       AutoSize = False
  402.       DataSource = OrderDS
  403.       DataField = 'OrderNo'
  404.     end
  405.     object QRDBText7: TQRDBText
  406.       Left = 72
  407.       Top = 0
  408.       width = 65
  409.       height = 17
  410.       AutoSize = False
  411.       DataSource = OrderDS
  412.       DataField = 'SaleDate'
  413.     end
  414.     object QRDBText9: TQRDBText
  415.       Left = 152
  416.       Top = 0
  417.       width = 65
  418.       height = 17
  419.       Alignment = taRightJustify
  420.       AutoSize = False
  421.       DataSource = OrderDS
  422.       DataField = 'ItemsTotal'
  423.     end
  424.     object QRDBText10: TQRDBText
  425.       Left = 232
  426.       Top = 0
  427.       width = 33
  428.       height = 17
  429.       Alignment = taRightJustify
  430.       AutoSize = False
  431.       DataSource = OrderDS
  432.       DataField = 'TaxRate'
  433.     end
  434.     object QRDBText6: TQRDBText
  435.       Left = 276
  436.       Top = 0
  437.       width = 57
  438.       height = 17
  439.       Alignment = taRightJustify
  440.       AutoSize = False
  441.       DataSource = OrderDS
  442.       DataField = 'Freight'
  443.     end
  444.   end
  445.   object MDRep: TQuickReport
  446.     Columns = 1
  447.     DataSource = CustomerDS
  448.     DisplayPrintDialog = False
  449.     LeftMarginInches = 0
  450.     LeftMarginMM = 0
  451.     Orientation = poPortrait
  452.     PrintOrder = qrColByCol
  453.     ReportTitle = 'QuickReport Master/detail demonstration'
  454.     ReportType = qrMasterDetail
  455.     RestartData = True
  456.     SQLCompatible = False
  457.     TitleBeforeHeader = False
  458.     Left = 4
  459.     Top = 224
  460.   end
  461.   object CustomerTable: TTable
  462.     Active = True
  463.     DatabaseName = 'DBDEMOS'
  464.     IndexFieldNames = 'Company'
  465.     TableName = 'CUSTOMER.DB'
  466.     Left = 36
  467.     Top = 224
  468.     object CustomerTableCustNo: TFloatField
  469.       FieldName = 'CustNo'
  470.     end
  471.     object CustomerTableCompany: TStringField
  472.       FieldName = 'Company'
  473.       Size = 30
  474.     end
  475.     object CustomerTablePhone: TStringField
  476.       FieldName = 'Phone'
  477.       Size = 15
  478.     end
  479.     object CustomerTableFAX: TStringField
  480.       FieldName = 'FAX'
  481.       Size = 15
  482.     end
  483.     object CustomerTableContact: TStringField
  484.       FieldName = 'Contact'
  485.     end
  486.   end
  487.   object OrdersTable: TTable
  488.     Active = True
  489.     DatabaseName = 'DBDEMOS'
  490.     IndexFieldNames = 'CustNo'
  491.     MasterFields = 'CustNo'
  492.     MasterSource = CustomerDS
  493.     TableName = 'ORDERS.DB'
  494.     Left = 44
  495.     Top = 260
  496.     object OrdersTableOrderNo: TFloatField
  497.       FieldName = 'OrderNo'
  498.     end
  499.     object OrdersTableSaleDate: TDateTimeField
  500.       FieldName = 'SaleDate'
  501.     end
  502.     object OrdersTableItemsTotal: TCurrencyField
  503.       FieldName = 'ItemsTotal'
  504.       Currency = True
  505.     end
  506.     object OrdersTableTaxRate: TFloatField
  507.       FieldName = 'TaxRate'
  508.     end
  509.     object OrdersTableFreight: TCurrencyField
  510.       FieldName = 'Freight'
  511.       Currency = True
  512.     end
  513.     object OrdersTableAmountPaid: TCurrencyField
  514.       FieldName = 'AmountPaid'
  515.       Currency = True
  516.     end
  517.     object OrdersTableCustNo: TFloatField
  518.       FieldName = 'CustNo'
  519.       Required = True
  520.     end
  521.   end
  522.   object CustomerDS: TDataSource
  523.     DataSet = CustomerTable
  524.     Left = 68
  525.     Top = 224
  526.   end
  527.   object OrderDS: TDataSource
  528.     DataSet = OrdersTable
  529.     Left = 76
  530.     Top = 260
  531.   end
  532.   object QRDetailLink1: TQRDetailLink
  533.     DataSource = OrderDS
  534.     DetailBand = Detail
  535.     FooterBand = CustomerFooter
  536.     Left = 12
  537.     Top = 260
  538.   end
  539. end
  540.